<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        // 1.文档输出内容
        document.write('哈哈')
        document, write('<h1>我是一级标题</h1>')
        // 2.控制台打印输出 给 程序员
        console.log('kankan')
        console.log('日志');
        // 3.输入语句
        prompt('请输入你的名字')
    </script>
</body>

</html>